package com.ruoyi.washer.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 洗衣球对象 xw_washball
 *
 * @author hawking
 * @date 2023-12-15
 */
public class XwWashball extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 洗衣球id */
    private Long washballId;

    /** 球的名字 */
    @Excel(name = "球的名字")
    private String washballName;

    /** 洗衣球编号 */
    @Excel(name = "洗衣球编号")
    private String washballSn;

    /** 所属代理商openid */
    @Excel(name = "所属代理商openid")
    private String agentOpenId;

    /** 终端openid */
    @Excel(name = "终端openid")
    private String enduserOpenId;

    /** 创建时间 */
    private Date createdTime;

    /** 更新时间 */
    private Date updatedTime;

    private Date agentTime;
    private Date enduserTime;

    public Date getAgentTime() {
        return agentTime;
    }

    public void setAgentTime(Date agentTime) {
        this.agentTime = agentTime;
    }

    public Date getEnduserTime() {
        return enduserTime;
    }

    public void setEnduserTime(Date enduserTime) {
        this.enduserTime = enduserTime;
    }

    public void setWashballId(Long washballId)
    {
        this.washballId = washballId;
    }

    public Long getWashballId()
    {
        return washballId;
    }
    public void setWashballName(String washballName)
    {
        this.washballName = washballName;
    }

    public String getWashballName()
    {
        return washballName;
    }
    public void setWashballSn(String washballSn)
    {
        this.washballSn = washballSn;
    }

    public String getWashballSn()
    {
        return washballSn;
    }
    public void setAgentOpenId(String agentOpenId)
    {
        this.agentOpenId = agentOpenId;
    }

    public String getAgentOpenId()
    {
        return agentOpenId;
    }
    public void setEnduserOpenId(String enduserOpenId)
    {
        this.enduserOpenId = enduserOpenId;
    }

    public String getEnduserOpenId()
    {
        return enduserOpenId;
    }
    public void setCreatedTime(Date createdTime)
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime()
    {
        return createdTime;
    }
    public void setUpdatedTime(Date updatedTime)
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime()
    {
        return updatedTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("washballId", getWashballId())
                .append("washballName", getWashballName())
                .append("washballSn", getWashballSn())
                .append("agentOpenId", getAgentOpenId())
                .append("enduserOpenId", getEnduserOpenId())
                .append("createBy", getCreateBy())
                .append("createdTime", getCreatedTime())
                .append("updateBy", getUpdateBy())
                .append("updatedTime", getUpdatedTime())
                .toString();
    }
}
